package com.xyht.sca_s.student_manage_system.modules.wx.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ReplyArticlesEntity {
    private List<ReplyItemEntity> item = new ArrayList<>();

    @Override
    public String toString(){
        StringBuilder str = new StringBuilder();
        if (item != null && item.size()>0){
            for (ReplyItemEntity re:item) {
                str.append("<item>").append(re.toString()).append("</item>");
            }
        }
        return str.toString();
    }
}
